<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>pos的移动</title>
		<style type="text/css">
			.c{
				height: 100px;
				width: 400px;
				background-color: #00FFFF;
				margin-bottom: 50px;
			}
			#d2{
				position: relative;
				left: 40px;
				top: -90px;
				background-color: red;
				/*float: right;*/
				z-index: -1; 
			}
		</style>
	</head>
	<body>
		<div class="c" style="z-index: 1;">第一个盒子</div>
		<div class="c" id="d2">第2个盒子</div>
		<div class="c">第3个盒子</div>
	</body>
</html>
